package com.spring.demo.pojo;

/**
 * @version 1.0.0
 * @Date: 2022/5/15 15:35
 * @Author ZhuYouBin
 * @Description
 */
public class Emp {
    private Integer empId;
    private String empName;
    private Dept dept; // 部门类的对象

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }
}
